﻿using HuiLian.Cloud.ViewModel;
using HuiLian.Cloud.View;
using HuiLian.Cloud.ViewModel.Base;
using HuiLian.Model.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace HuiLian.Cloud.ViewModel
{
    public class WastageWindowViewModel : ViewModelBase
    {
        private List<Food> foods = new List<Food>()
        {
            new Food(){ Id=1,Name="黑米面包", No="NO:1", Image="../Images/Foods/1.jpg", Price=2.5, Stock=100, Type="面包" },
            new Food(){ Id=2,Name="抹茶面包", No="NO:2", Image="../Images/Foods/2.jpg", Price=2.5, Stock=100, Type="面包" },
            new Food(){ Id=3,Name="奶油面包", No="NO:3", Image="../Images/Foods/3.jpg", Price=12.5, Stock=100, Type="面包" },
            new Food(){ Id=4,Name="蛋糕面包", No="NO:4", Image="../Images/Foods/4.jpg", Price=12.5, Stock=100, Type="面包" },
            new Food(){ Id=5,Name="葡萄奶茶", No="NO:5", Image="../Images/Foods/5.jpg", Price=22.5, Stock=100, Type="奶茶" },
            new Food(){ Id=6,Name="草莓奶茶", No="NO:6", Image="../Images/Foods/6.jpg", Price=12.5, Stock=100, Type="奶茶" },
            new Food(){ Id=7,Name="青梅奶茶", No="NO:7", Image="../Images/Foods/7.jpg", Price=23.5, Stock=100, Type="奶茶" },
            new Food(){ Id=8,Name="奶昔奶茶", No="NO:8", Image="../Images/Foods/8.jpg", Price=12.5, Stock=100, Type="奶茶" },
            new Food(){ Id=9,Name="蛋糕一", No="NO:9", Image="../Images/Foods/9.jpg", Price=12.5, Stock=100, Type="生日蛋糕" },
            new Food(){ Id=10,Name="蛋糕二", No="NO:10", Image="../Images/Foods/10.jpg", Price=20.5, Stock=100, Type="生日蛋糕" },
            new Food(){ Id=11,Name="蛋糕三", No="NO:11", Image="../Images/Foods/11.jpg", Price=26.5, Stock=100, Type="生日蛋糕" },
            new Food(){ Id=12,Name="蛋糕四", No="NO:12", Image="../Images/Foods/12.jpg", Price=82.5, Stock=100, Type="生日蛋糕" },
            new Food(){ Id=13,Name="炸鸡", No="NO:13", Image="../Images/Foods/13.jpg", Price=12.5, Stock=100, Type="汉堡炸鸡" },
            new Food(){ Id=14,Name="炸鸡", No="NO:14", Image="../Images/Foods/14.jpg", Price=1.5, Stock=100, Type="汉堡炸鸡" },
            new Food(){ Id=15,Name="炸鸡", No="NO:15", Image="../Images/Foods/15.jpg", Price=12.5, Stock=100, Type="汉堡炸鸡" },
            new Food(){ Id=16,Name="炸鸡", No="NO:16", Image="../Images/Foods/16.jpg", Price=12.5, Stock=100, Type="汉堡炸鸡" }
        };

        public List<Food> Foods { get { return foods; } set { foods = value; OnPropertyChanged("Foods"); } }
    }
}
